package com.aaa.service;

import com.aaa.entity.Staff;

import java.util.List;
import java.util.Map;

public interface StaffService {

    public Staff login(String staffId, String password);

    int updateStaffByStaffId(Staff staff);

    int addStaffByStaffId(Staff staff);

    int deleteStaffByStaffId(int staffId);

    List<Staff> findAllStaff(Integer pageNumber, Integer pageSize, String searchId, String searchName);

    List<Staff> findStaffByStaffId(int staffId);

    List<Staff> findStaffByStaffName(String staffName);

    List<Map<String,Object>> getRole();

    List<Staff> getMaxStaffId();

    int getAllStaffInfoCount(String searchId, String searchName);

}
